Skip to content

chore: upgrade guidance for non-root container change#7048

Merged
jstirnaman merged 10 commits intomasterfrom
chore/upgrade_guidance_for_non_root_container
Apr 15, 2026
Merged

chore: upgrade guidance for non-root container change#7048
jstirnaman merged 10 commits intomasterfrom
chore/upgrade_guidance_for_non_root_container

Conversation

@blegesse-w
Copy link
Copy Markdown
Member

@blegesse-w blegesse-w commented Apr 2, 2026

Summary

Closes #

Adds documentation for the breaking change in Explorer v1.7.0 where the container now runs as non-root user (uid 1500).

Related: influxdata/influxdb3_ui#1620

Checklist


Suggested reviewers (click to expand)

Based on files changed, consider requesting review from:

InfluxDB 3

Content Engineering Product
Core, Enterprise influxdata/monolith-team peterbarnett03, garylfowler
Clustered influxdata/platform-team ritwika314, sanderson
Cloud Dedicated influxdata/cloud-single-tenant ritwika314, sanderson
Cloud Serverless mavarius, garylfowler
Explorer mavarius, peterbarnett03

InfluxDB v2 / v1 / Enterprise v1

Content Engineering Product
v2, Cloud (TSM) influxdata/edge sanderson, jstirnaman
v1, Enterprise v1 influxdata/edge sanderson, jstirnaman

Other Products

Content Engineering Product
Telegraf influxdata/telegraf-team sanderson, caterryan
Kapacitor influxdata/bonitoo sanderson, jstirnaman
Chronograf influxdata/bonitoo mavarius, caterryan
Flux sanderson, jstirnaman

Shared / Cross-Product

Content Reviewers
/content/shared/ influxdata/product-managers
API docs Relevant product team above

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

Vale Style Check Results

Metric Count
Errors 0
Warnings 4
Suggestions 5
Warnings (4)
File Line Rule Message
content/influxdb3/explorer/release-notes/_index.md 248 InfluxDataDocs.Spelling Did you really mean 'onboarding'?
content/influxdb3/explorer/release-notes/_index.md 248 InfluxDataDocs.Spelling Did you really mean 'onboarding'?
content/influxdb3/explorer/release-notes/_index.md 249 InfluxDataDocs.WordList Use 'administrator' instead of 'admin'.
content/influxdb3/explorer/release-notes/_index.md 249 InfluxDataDocs.WordList Use 'capability' or 'feature' instead of 'functionality'.

Check passed

@blegesse-w blegesse-w marked this pull request as ready for review April 2, 2026 17:21
@blegesse-w blegesse-w requested a review from a team as a code owner April 2, 2026 17:21
@blegesse-w blegesse-w requested review from jstirnaman and removed request for a team April 2, 2026 17:21
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

PR Preview Action v1.4.8
🚀 Deployed preview to https://influxdata.github.io/docs-v2/pr-preview/pr-7048/
on branch gh-pages at 2026-04-15 20:27 UTC

@wdoconnell
Copy link
Copy Markdown
Contributor

Thank you @blegesse-w !

@github-actions github-actions bot added the product:explorer InfluxDB 3 Explorer label Apr 2, 2026
Copy link
Copy Markdown
Contributor

@jstirnaman jstirnaman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @blegesse-w! I made some style changes.
I also saw Gary's notice, so we'll keep it in the back pocket for now.

Comment thread content/influxdb3/explorer/install.md Outdated
Comment thread content/influxdb3/explorer/install.md Outdated
@jstirnaman jstirnaman added hold off Should not be merged or address yet release:pending Waiting for product release before merging labels Apr 2, 2026
@jstirnaman jstirnaman modified the milestones: Explo, Explorer-v1.7.0 Apr 2, 2026
Copy link
Copy Markdown
Contributor

@wdoconnell wdoconnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking due to release hold. Thank you!

Copy link
Copy Markdown
Contributor

@wdoconnell wdoconnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is approved for tomorrow's release.

blegesse-w and others added 4 commits April 15, 2026 12:35
Use semantic line feeds, replace bold text with heading in callouts,
explain the root cause (root-owned volumes), and use standard callout
syntax for the release notes upgrade notice.
@blegesse-w blegesse-w force-pushed the chore/upgrade_guidance_for_non_root_container branch from a442e5c to 2131fe7 Compare April 15, 2026 19:42
@blegesse-w blegesse-w requested a review from jstirnaman April 15, 2026 19:43
Copy link
Copy Markdown
Contributor

@jstirnaman jstirnaman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few nits. I'll get them fixed up and merge it. Thanks!

Comment thread content/influxdb3/explorer/install.md Outdated
> [!Warning]
> #### Upgrade from Explorer v1.6.x or earlier
>
> In v1.7.0+, the Explorer container runs as a non-root user
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> In v1.7.0+, the Explorer container runs as a non-root user
> With v1.7.0+, the Explorer container runs as a non-root user

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in 7224fd4 with the requested wording in the warning callout. Screenshot: https://github.com/user-attachments/assets/528a31a1-292d-431e-a684-fbb9b4cf3b92

Comment thread content/influxdb3/explorer/install.md Outdated
>
> In v1.7.0+, the Explorer container runs as a non-root user
> (`influxui`, uid 1500) for improved security. Because earlier versions
> ran as root, existing mounted volumes are owned by root — and the new
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> ran as root, existing mounted volumes are owned by root and the new
> ran as root, existing mounted volumes are owned by root and the new

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied in 7224fd4 with the suggested root-ownership sentence update. Screenshot: https://github.com/user-attachments/assets/528a31a1-292d-431e-a684-fbb9b4cf3b92

Comment thread content/influxdb3/explorer/install.md Outdated
> ```
>
> To prevent or resolve this error, change ownership of your mounted
> directories to uid 1500 before you start the container:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> directories to uid 1500 before you start the container:
> directories to uid 1500 before you start the container--for example:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied in 7224fd4; this now uses the requested phrasing before the example commands. Screenshot: https://github.com/user-attachments/assets/528a31a1-292d-431e-a684-fbb9b4cf3b92

> [!Important]
> Without a mounted `./db` directory, application data is lost when the container is deleted.

> [!Warning]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot For lines 216-241, keep a brief warning callout. Make the remainder a regular section for setting file permissions.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 7224fd4: kept the warning callout brief and moved the rest into a regular “Set file permissions for upgrades” section. Screenshot: https://github.com/user-attachments/assets/528a31a1-292d-431e-a684-fbb9b4cf3b92

Comment on lines +30 to +38
> before you start the container:
>
> ```bash
> sudo chown -R 1500:1500 /path/to/your/db
> sudo chown -R 1500:1500 /path/to/your/config
> ```
>
> The container exits with an error message if it detects root-owned
> files. Fresh installations are unaffected.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot Replace the detailed callout with "See" reference to the install page

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 7224fd4: replaced the detailed callout with a concise See-reference to the install page section. Screenshot: https://github.com/user-attachments/assets/bfe00a17-3975-43c2-aa72-ae49debc24e8

Copilot AI requested a review from jstirnaman April 15, 2026 20:17
Comment thread content/influxdb3/explorer/install.md
Comment thread content/influxdb3/explorer/install.md Outdated
@jstirnaman jstirnaman merged commit 622fac1 into master Apr 15, 2026
16 of 17 checks passed
@jstirnaman jstirnaman deleted the chore/upgrade_guidance_for_non_root_container branch April 15, 2026 20:29
github-actions bot added a commit that referenced this pull request Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hold off Should not be merged or address yet product:explorer InfluxDB 3 Explorer release:pending Waiting for product release before merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants